Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Foreground commands can stall a non-interactive session when a child process keeps an output pipe open, and shortened error output can hide the information needed to recover. This adds a 120-second default for Step
run_command, cleans up discoverable Linux descendants on timeout or abort, reports signal termination as failure, and preserves a readable full log when command output is shortened.The change also keeps runtime state from interfering with solution delivery:
STEP_CODING_AGENT_PLAN_DIRoptionally stores plans outside the workspace. Existing defaults and saved session paths remain authoritative.--completion-check git-committedchecks delivery in the same session. Optional--completion-reviewshares the existing follow-up budget.search_files,find_files, andlist_directory. This removes shell-only fallback instructions when dedicated tools are available, while preserving guidance for actual shell-only profiles.Explicit command timeouts, background execution, and permission decisions keep their contracts. Linux descendant snapshots cannot atomically contain already-reparented descendants or forks racing the snapshot. This change adds no dependency.
Validation: the preceding runtime implementation passed
npm run checkand the complete offline./test.shsuite, including subprocess recovery, full-output reads, plan resume, compaction, and serializer coverage. The appended prompt correction adds builder regressions for each alias and for legacy, mixed, shell-only, and PowerShell profiles: 65 targeted tests andnpm run checkpass on the updated public tree. Six alias cases were first reproduced as failing on the prior implementation. The lockfile and generated model data are unchanged.Benchmark results apply to their pinned runtime versions; the appended prompt correction has not been evaluated in a new full benchmark run. This PR makes no causal score-improvement claim. Denial-recovery configuration is tracked separately in #188.